<?php
/**
 * Eka Framework 0.3.0
 *
 * @copyright Copyright (c) 2008 Alexey Yu. Chuprina <656b61@gmail.com> (http://php-eka.googlecode.com)
 * @license http://www.opensource.org/licenses/mit-license.php MIT License
 *
 * @version $Id$
 */

/**
 * Eka_Session
 *
 * @package Session
 */
abstract class Eka_Session_Abstract
{
	protected $options = array();
	
	public function __construct(array $options = null)
	{
		if (null !== $options) {
			$this->options = $options;
		}
		$this->init();
	}
	
	abstract protected function init();
	
	abstract public function getId();
	
	abstract public function setId($value);
	
	abstract public function __get($key);

	abstract public function __set($key, $value);
	
	abstract public function __isset($key);

	abstract public function __unset($key);
}